const db = require('../models');
const Game = db.Game;

const findGames = async () => {
    const gamesResult = await Game.findAll({
        where: {
            state: 1
        }
    });
    return gamesResult;
}


module.exports = {findGames};